package com.wzdigit.wms.hm.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.wzdigit.framework.orm.model.BasicDomain;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * 库存交易凭证明细货品清单
 * </p>
 *
 * @author 
 * @since 2021-01-19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("WMS_TRSN_DTL_GOODS")
@KeySequence(value = "WMS_TRSN_DTL_GOODS_SEQ", clazz = Integer.class)
public class TrsnDtlGoods extends BasicDomain {

    private static final long serialVersionUID = 1L;

    /**
     * 库存交易凭证明细货品清单ID
     */
    @TableId(value = "TRSN_DTL_GOODS_ID",type = IdType.INPUT)
    private Integer trsnDtlGoodsId;

    /**
     * 库存交易凭证明细ID
     */
    @TableField("TRSN_DTL_ID")
    private Integer trsnDtlId;

    /**
     * 货品SN
     */
    @TableField("GOODS_SN")
    private String goodsSn;

    /**
     * 货品ID
     */
    @TableField("GOODS_ID")
    private Integer goodsId;

    /**
     * 数量
     */
    @TableField("QTY")
    private BigDecimal qty;

    /**
     * 品质状态
     */
    @TableField("QA_STATUS")
    private Integer qaStatus;

    /**
     * 备注
     */
    @TableField("COMMENTS")
    private String comments;

    /**
     * 状态
     */
    @TableField("STATUS")
    private Integer status;


}
